home *** CD-ROM | disk | FTP | other *** search
/ Amiga ISO Collection / AmigaUtilCD2.iso / Programming / Misc / LK_V1.06.LHA / LK V1.06 / HELP / small.hlp < prev    next >
Encoding:
INI File  |  1994-11-01  |  2.2 KB  |  62 lines

  1. [LANGUAGE english; PARENT keywords; PAGE 11-104]
  2. [C;6;B]        SMALL
  3.         SMALLBSS or SB
  4.         SMALLCODE or SC
  5.         SMALLDATA or SD
  6.         SMALLHUNK
  7.         SMALLUNIT or SU
  8. [7]Default: NORM
  9. [J;1;N]
  10.   Ask for the smallest distribution than possible. All hunks \
  11. of the specified type which have the same memory requirements \
  12. will be linked together.
  13.   If you really want all hunks put all togheter regardless of \
  14. whatever memory it should be loaded in, you may use \
  15. SINGLE???? keyword instead.
  16.   The instruction SMALL is a short hand to execute all small \
  17. instruction at the same time.
  18.   The instruction SMALLHUNK will change DATA and BSS hunks \
  19. in CODE hunks and all hunks with the same memory requierement \
  20. will be linked together. This instruction should be used with \
  21. all other SMALL??? instructions, if you want to have a x-hunk.
  22.  
  23.   A common mistake is to use the SMALLBSS instruction to enable \
  24. small data hunks. A C program like always will have a hunk of \
  25. data which have a smaller size than the size specified into the \
  26. HUNK_HEADER. To keep (and eventually reduce) those small data, \
  27. you have to use XDATA instruction.
  28.  
  29.   C programs (Like do Slink/Blink) usuly needs the option ONEDATA.
  30.  
  31.   In the case of a library (Note that SMALLUNIT only is valid) \
  32. this instruction will make hunks which needs each other to be \
  33. linked at the library creation time (See FOR for more \
  34. information about how it goes.) This instruction should not be \
  35. used when you still develop your library, because it is really \
  36. slow (It uses a recursive algorithm which cannot make the stack \
  37. crash!)
  38.  
  39.   See also:
  40. [L;3][LINK createlibrary]        CREATELIBRARY
  41. [LINK for]                FOR
  42. [LINK frag]                FRAGBSS
  43. [LINK frag]                FRAGCODE
  44. [LINK frag]                FRAGDATA
  45. [LINK frag]                FRAGHUNK
  46. [LINK norm]                NORM
  47. [LINK norm]                NORMBSS
  48. [LINK norm]                NORMCODE
  49. [LINK norm]                NORMDATA
  50. [LINK norm]                NORMHUNK
  51. [LINK norm]                NORMUNIT
  52. [LINK onedata]                ONEDATA
  53. [LINK single]                SINGLE
  54. [LINK single]                SINGLEBSS
  55. [LINK single]                SINGLECODE
  56. [LINK single]                SINGLEDATA
  57. [LINK single]                SINGLEHUNK
  58. [LINK single]                SINGLEUNIT
  59. [LINK xhunk]                XDATA
  60. [LINK xhunk]                XCODE
  61. [5; LINK about; GOTO address]        Become Registred
  62.